Skip to content

feat: TypeScript SDK v0.2.80 feature parity#72

Merged
htcarr3 merged 1 commit intomainfrom
update-032026
Mar 20, 2026
Merged

feat: TypeScript SDK v0.2.80 feature parity#72
htcarr3 merged 1 commit intomainfrom
update-032026

Conversation

@htcarr3
Copy link
Copy Markdown
Contributor

@htcarr3 htcarr3 commented Mar 20, 2026

What

Add StopFailure hook event for full TypeScript SDK v0.2.80 parity. Update SPEC.md and docs.

Why

The TypeScript SDK added StopFailure (fires when the agent stops due to an API error) and v0.2.78–v0.2.80 included bug fixes and CLI parity updates. The Python SDK v0.1.49 also added several features (get_session_info, tag/created_at on sessions, RateLimitEvent typed message). SPEC.md and docs needed updating to reflect current state.

How

  • Add StopFailure to HOOK_EVENTS, StopFailureInput type (error, error_details, last_assistant_message), on_stop_failure DSL method on HookRegistry
  • Update SPEC.md reference versions (TS v0.2.80, Python v0.1.49), update Python parity markers, trim bloated notes section
  • Add APIRetryMessage to docs/messages.md (was missing), add StopFailure to docs/hooks.md
  • RBS signature and tests for new type

Add StopFailure hook event with StopFailureInput type (error,
error_details, last_assistant_message) and on_stop_failure DSL method.
Update SPEC.md for TypeScript SDK v0.2.80 and Python SDK v0.1.49,
trimming notes to notable items only. Add APIRetryMessage to
docs/messages.md and StopFailure to docs/hooks.md.
@htcarr3 htcarr3 merged commit 1dd8534 into main Mar 20, 2026
1 check passed
@htcarr3 htcarr3 deleted the update-032026 branch March 20, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant